package com.hxjb;

import com.hxjb.config.dynamicDSConfig.DynamicDataSourceRegister;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@Import({DynamicDataSourceRegister.class}) // 注册动态多数据源
@EnableTransactionManagement // 启注解事务管理
public class SeckillApplication {

	public static void main(String[] args) {
		SpringApplication.run(SeckillApplication.class, args);
	}
}
